package com.kingdee.shr.ques.cloud.poi;

import com.kingdee.shr.ques.cloud.base.paging.Page;
import com.kingdee.shr.ques.cloud.bo.IdListVO;
import com.kingdee.shr.ques.cloud.bo.PageRequestParam;

import java.util.List;

/**
 * @author Miaoxiong Fan
 * @description 配合ExportByPager使用
 * @data 2019/1/29
 */
public interface ServicePager<T> {

    List<T> getAll(IdListVO ids);

    Page<T> getByPage(T t, PageRequestParam pager);
}
